package com.hihonor.game.service.impl;

import com.hihonor.game.dao.OrderMapper;
import com.hihonor.game.model.Order;
import com.hihonor.game.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @fileName: OrderServiceImpl
 * @author: LmR
 * @createDate: 2023/12/9 22:11
 * @Desc:
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderMapper orderMapper;

    @Override
    public void save(Order order) {
        System.out.println(orderMapper.insert(order));
    }
}
